Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image: Take explicit dependency on util-linux for uuidgen and gzip #1262

Merged
merged 1 commit into from
Feb 16, 2019

Conversation

smarterclayton
Copy link
Contributor

@smarterclayton smarterclayton commented Feb 16, 2019

uuidgen is moderately useful to a consumer to generate a unique
cluster id, but we are in the process of removing util-linux which
contains uuidgen from the base image because it brings in about
30M of compressed dependencies above what the new minimal base
includes (timezone data, systemd libs, a few others). For now,
update the image to make the dependency explicit, although we
may want to remove uuidgen in the future or make it a subcommand
of the install.

Explicitly references gzip as well for convenience in gzipping logs.

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: smarterclayton

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 16, 2019
uuidgen is moderately useful to a consumer to generate a unique
cluster id, but we are in the process of removing util-linux which
contains uuidgen from the base image because it brings in about
30M of compressed dependencies above what the new minimal base
includes (timezone data, systemd libs, a few others). For now,
update the image to make the dependency explicit, although we
may want to remove uuidgen in the future or make it a subcommand
of the install.

Gzip is used to compress artifacts in CI and is also moderately
useful for an admin who wants to compress logs.
@smarterclayton smarterclayton changed the title image: Take explicit dependency on util-linux for uuidgen image: Take explicit dependency on util-linux for uuidgen and gzip Feb 16, 2019
@wking
Copy link
Member

wking commented Feb 16, 2019

uuidgen is moderately useful to a consumer to generate a unique
cluster id...

But we don't want users generating cluster IDs, see #1057.

Explicitly references gzip as well for convenience in gzipping logs.

This is for CI? I'd rather copy the statically linked openshift-install from the setup container into the teardown container like we already do (from the test container) for oc. Then use whatever teardown image you need to get gzip.

@smarterclayton
Copy link
Contributor Author

smarterclayton commented Feb 16, 2019

Right now, everyone who uses installer expects gzip and uuidgen to be there. The way that we stage these changes out is that we move the dependency to the images using it, then it's up to that team to remove.

So this team will own reverting this once they've cleared up the usages that have accumulated.

@openshift-ci-robot
Copy link
Contributor

@smarterclayton: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/e2e-aws 71d199c link /test e2e-aws

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@smarterclayton
Copy link
Contributor Author

Known flakes, force merging so we can continue to test the UBI switch.

@smarterclayton smarterclayton merged commit 03c258b into openshift:master Feb 16, 2019
wking added a commit to wking/openshift-installer that referenced this pull request Mar 4, 2019
… gzip"

This reverts commit 71d199c, openshift#1262

Since openshift/release@00d7b3f31 (ci-operator/templates/openshift:
Use IMAGE_TESTS for teardown gzip, 2019-02-19,
openshift/release#2911), the release repository no longer users the
installer image for the teardown containers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants